package hospital.cmnclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
/**
 * @author
 * @description:
 */
@FeignClient(value = "service-cmn")
@Repository
public interface DictFeignClient {
    //根据dictCode和Value 查询医院等级接口
    @GetMapping("/admin/cmn/dict/getDictName/{dictCode}/{value}")
    public String getDictName(@PathVariable("dictCode") String dictCode,@PathVariable("value") String value);

    //根据value值查询省市区接口
    @GetMapping("/admin/cmn/dict/getDictName/{value}")
    public String getDictName(@PathVariable("value") String value);
}
